home *** CD-ROM | disk | FTP | other *** search
/ USA Bestseller / USA BESTSELLER Vol 1-95 (Hepp-Computer)(1995).iso / e193 / 0150ter2._xe / MANUAL.EXE / COMMUNIC.HLP < prev    next >
Text File  |  1994-08-20  |  16KB  |  326 lines

  1.  
  2.  ^m╒══════════════════════╤═══════════════════════════╡^t Communications setup ^m╞╕
  3.  │ ^nDevice name          ^m│ ^nDevice       Port  Baud  Com  Address  Irq Vector ^m│
  4.  ├──────────────────────┼───────────────────────────────────────────────────┤
  5.  │^r Async Modem COM1     ^m│ ^h8250A/16450    1  19200  8N1  $03F8    04    0C   ^m│
  6.  │^b■^hAsync Modem COM2     ^m│ ^h16550A FIFO    2  19200  8N1  $02F8    03    0B   ^m│
  7.  │ ^hAsync Modem COM3     ^m│ ^hNo UART        3  19200  8N1  $03E8    04    0C   ^m│
  8.  │ ^hAsync Modem COM4     ^m│ ^hNo UART        4  19200  8N1  $02E8    03    0B   ^m│
  9.  │ ^hInterrupt 14h        ^m│ ^hInterrupt 14h  1   9600  8N1                      ^m│
  10.  │ ^hISDN                 ^m│ ^hFossil         1  64000  8N1                      ^m│
  11.  │ ^hFossil               ^m│ ^hFossil         1  38400  8N1                      ^m│
  12.  │ ^h                     ^m│ ^h                                                  ^m│
  13.  │ ^h                     ^m│ ^h                                                  ^m│
  14.  │ ^h                     ^m│ ^h                                                  ^m│
  15.  ├──────────────────────┼───────────────────────────────────────────────────┤
  16.  │ ^nConfigure comports   ^m│               ^nAsync Professional                  ^m│
  17.  │ ^nCheck IRQ            ^m│               ^n■ = Default device                  ^m│
  18.  │ ^nSet default values   ^m│                                                   ^m│
  19.  │ ^nAuto installation    ^m│                                                   ^m│
  20.  ╘══════════════════════╧═══════════════════════════════════════════════════╛^n
  21.  
  22.  Since setting up the serial port is one of the most important things in any
  23.  terminal program, you must remember the following rules:
  24.  
  25.    Maximum bps rates:
  26.  
  27.    4.77 MHz PC (8088)      9600 bps
  28.       8 MHz PC (8088)     19200 bps
  29.       8 MHz PC (286)      57600 bps
  30.      16 MHz PC (386)     115200 bps
  31.  
  32.  You need 16550A serial UART chips if you want to have error free connections
  33.  when using: an 8 MHz PC (8088); any kind of multitasker - eg: OS/2, Windows,
  34.  DESQview, etc; a modem connected to a network drive. It does not matter how
  35.  fast your machine is, my 486DX2-66 still gives me errors when there is no
  36.  FIFO buffer in the machine.
  37.  The 16550A UART chip gives you a small 16 byte FIFO buffer - which means the
  38.  chip does not have to generate an interrupt every time a character arrives.
  39.  Most PC's are delivered with the old 8250 or 16450 chips (almost the same),
  40.  so if you get CRC errors, you should buy such a card. (Ask us or one of our
  41.  Registration Sites where to obtain them.) All good internal high speed
  42.  modems already have a 16550A UART implemented. When buying an internal modem
  43.  make sure it has one!
  44.  
  45.  ^hDevice setup^n
  46.  
  47.  ^m╒════════════════════════════════════╤═════════════════════╡^t Device setup ^m╞╕
  48.  │^r Serial interface                   ^m│ ^hUART/Serial                         ^m│
  49.  │ ^nComport                            ^m│ ^h1                                   ^m│
  50.  │ ^nDevice name                        ^m│ ^hAsync Modem COM1                    ^m│
  51.  │ ^nBaudrate                           ^m│ ^h19200                               ^m│
  52.  │ ^nLock port                          ^m│ ^hYes                                 ^m│
  53.  │ ^nDatabits / Stopbits / Parity       ^m│ ^h8,1,N                               ^m│
  54.  │ ^nPhonebook                          ^m│ ^hTERMINAT^n.FON                        ^m│
  55.  │ ^nCostfile                           ^m│ ^hTERMINAT.CST                        ^m│
  56.  │ ^nReceive buffer size                ^m│ ^h2048                                ^m│
  57.  │ ^nTransmit buffer size               ^m│ ^h4096                                ^m│
  58.  │ ^nSoftware flow control (Xon/Xoff)   ^m│ ^hOff                                 ^m│
  59.  │ ^nHardware flow control (CTS/RTS)    ^m│ ^hOn                                  ^m│
  60.  │ ^nHardware flow control (DSR/DTR)    ^m│ ^hOff                                 ^m│
  61.  │ ^nUse 16550 fifo if available        ^m│ ^h14                                  ^m│
  62.  │ ^nKeep 16550 fifo on in shell        ^m│ ^hNo                                  ^m│
  63.  │ ^nRTS low while writing              ^m│ ^hNo                                  ^m│
  64.  │ ^nAuto RTS low trigger               ^m│ ^h2                                   ^m│
  65.  │ ^nCarrier detect mask                ^m│ ^h128                                 ^m│
  66.  │ ^nInit string                        ^m│ ^hATZ^M                               ^m│
  67.  │ ^nRestore port on close              ^m│ ^hNo                                  ^m│
  68.  │ ^nClose port in shell                ^m│ ^hNo                                  ^m│
  69.  ╘════════════════════════════════════╧═════════════════════════════════════╛^n
  70.  
  71.  ^hSerial interface^n
  72.  
  73.   Terminate supports 4 different interfaces.
  74.  
  75.   ^hUART/Serial         ^nDirect serial chips
  76.   ^hInterrupt 14h       ^nVia BIOS int 14h max 9600 baud
  77.   ^hFossil              ^nResident serial devices, like X00/BNU
  78.                       or ISDN fossil devices.
  79.   ^hDigiboard           ^nVery fast intelligent multiport adapter.
  80.  
  81.  ^hComport^n
  82.  
  83.   Select which port to assign for this device, COM1..COM8 can be selected.
  84.  
  85.  ^hDevice name^n
  86.  
  87.   Enter the string to be shown everywhere the device is shown. You should
  88.   enter your modem name here, 'Spirit II 19200 8N1' or whatever you have.
  89.  
  90.  ^hBaudrate^n
  91.  
  92.   Which baudrate to use for this device as default.
  93.   Note that if you want to use a special baudrate that is not shown in the
  94.   list, just press D and define it.
  95.  
  96.  ^hLock port^n
  97.  
  98.   When using a high speed modem (bps>=9600) you should always choose to lock
  99.   the port.
  100.  
  101.  ^hDatabits / Stopbits / Parity^n
  102.  
  103.  ^hDatabits^n
  104.  
  105.   A data byte can contain 5,6,7 or 8 bits. The vast majority of applications
  106.   will use either 7 or 8 bits since most of the data we are used to dealing
  107.   with is expressed in 8-bit bytes (although text data can often be expressed
  108.   in only 7-bits).
  109.   Many time-sharing systems, such as CompuServe, work with only 7 data bits
  110.   because that's all they need to display text data. When transfering binary
  111.   data though, for example with a file transfer protocol, you usually switch
  112.   to 8 data bits. 
  113.   If you use 8N1 and 7E1 on different systems, you must define 2 different
  114.   devices and select the correct device in the phonebook.
  115.   Create 2 devices which looks the same. They could be called:
  116.   Device 1:^hMODEM COM2 2400 8N1^n  Device 2:^hMODEM COM2 2400 7E1^n
  117.  
  118.  ^hStopbits^n
  119.  
  120.   Stop bits follow the data bits in the serial stream. The value for stop
  121.   bits will always be either 1 or 2. Generally, 1 stop bit is used.
  122.  
  123.  ^hParity^n
  124.  
  125.   Parity describes a bit checking scheme. When used, all of the bits in a
  126.   data byte are added together. A final bit, called the parity bit, is added
  127.   such that the sum of all bits will be either odd or even (whichever you
  128.   specify). The transmitter calculates and transmits a parity bit. If it is
  129.   correct then it is assumed that the characters were received without error.
  130.   If not, then it is assumed that there was some sort of error during
  131.   transmission. Possible choices are determined by the remote system:
  132.  
  133.   ^hNone  ^nNo parity is added, default
  134.   ^hEven  ^nA parity bit is added such that the bit sum is always even
  135.   ^hOdd   ^nA parity bit is added such that the bit sum is always odd
  136.   ^hMark  ^nA parity bit of value one is always added
  137.   ^hSpace ^nA parity bit of value zero is always added
  138.  
  139.  ^hPhonebook^n
  140.  
  141.   When this device is selected, then use this phonebook. This will only work
  142.   when starting up Terminate.
  143.  
  144.  ^hCostfile^n
  145.  
  146.   Which costfile to use when using this device.
  147.  
  148.  ^hReceive buffer size^n  ^hTransmit buffer size^n
  149.  
  150.   Size of internal buffers used by Terminate. Only used with an interface
  151.   that is buffered, otherwise these buffers are ignored. Only the UART/Serial
  152.   interface is buffered. Do NOT change these values unless you are absolutely
  153.   sure that you know what you are doing!
  154.  
  155.  ^hSoftware flow control (Xon/Xoff)^n
  156.  
  157.   This option controls the automatic software flow control.
  158.   (Receive flow control - where Terminate tells the remote to stop
  159.   transmitting characters, and Transmit flow control - where Terminate
  160.   responds to the remote's request to stop transmitting characters as its
  161.   input buffer fills. Whenever the input buffer is more than 75% full, an
  162.   Xoff (#19) character is sent to the remote. It is up to the remote to
  163.   recognize the Xoff (#19) and cease sending data. When the input buffer
  164.   empties again to below 75% of buffer size, Terminate will send an Xon (#17)
  165.   character to the remote. It is then up to the remote to recognize this
  166.   character and resume sending data.)
  167.  
  168.  ^hHardware flow control (CTS/RTS)^n
  169.  
  170.   Hardware flow control is always preferred when available, because it is
  171.   faster and much safer. Hardware flow control works with lowering and
  172.   raising the modem lines. First you need to setup your modem to work with
  173.   CTS/RTS hardware flow control. CTS means Clear-To-Send and when using
  174.   hardware flow control the CTS line must be high (with the CTS light in
  175.   modem lit) before anything will be sent to the modem. When the receive
  176.   buffer is more than 90% full the RTS (Request-To-Send) line will be set low
  177.   telling the modem not to send again until the buffer is less than 90% full.
  178.  
  179.  ^hHardware flow control (DSR/DTR)^n
  180.  
  181.   Some strange modems need DSR (Data-Set-Ready) instead of CTS and DTR
  182.   (Data-Terminal-Ready) or both options together, but it is not advised
  183.   to ever use this option unless you are sure you know what you are doing.
  184.   Data-Set-Ready is sometime refered as Modem-Ready (MR) on your modem.
  185.  
  186.  ^hUse 16550 fifo if available^n
  187.  
  188.   Tests whether a 16550A is available in the serial chip and, if it is, uses
  189.   its' FIFO buffer. Windows cannot use this by default.
  190.  
  191.  ^hKeep 16550 fifo on in shell^n
  192.  
  193.   When calling an external program or exiting Terminate, we normally disable
  194.   the FIFO buffer. Some utilities cannot detect the 16550A chip or do not
  195.   support the FIFO. The best thing is to disable (No) and let external
  196.   utilities detect for themselves.
  197.  
  198.  ^hRTS low while writing^n
  199.  
  200.   If you do not have a 16550A chip and have problems with errors, you can try
  201.   to set RTS low while writing. This means Terminate will stop receiving
  202.   while writing protocol blocks to the disk. This will slow down performance
  203.   a little, but is safer and could prevent hangups.
  204.  
  205.  ^hAuto RTS low trigger^n
  206.  
  207.   If you get more than X errors then the Auto RTS low function can be set to
  208.   go into progress, a good way of keeping up performance to a maximum and
  209.   only turn on RTS low when really needed.
  210.  
  211.  ^hCarrier detect mask^n
  212.  
  213.   When checking the modem status register this determines which bit should be
  214.   used for checking carrier detect. Normally bit 7 (128) is used and you
  215.   should only change this if you really know what you are doing.
  216.  
  217.  ^hInit string^n
  218.  
  219.   Select which init string you want to sent to the modem after changing
  220.   device and before dialing. This string is also sent to modem at startup 
  221.   if it is the current device.
  222.  
  223.  ^hRestore port on close^n
  224.  
  225.   After Terminate closes the port you can choose to restore the port as
  226.   it was before. But this means that you will get hung up if Terminal
  227.   ready was low at startup and you call any external program. You should
  228.   only turn this on if you really know what you are doing.
  229.  
  230.  ^hClose port in shell^n
  231.  
  232.   Normally there is no reason for closing the ports while shelling to
  233.   DOS. But some external protocols might need this. Closing the port
  234.   will save you a little in swap space, but if you are using fossil/ISDN
  235.   you might get hung up if you close the port.
  236.  
  237.  ^hConfigure comports^n
  238.  
  239.   ^m╒═══════╡^t Configure comports ^m╞╕
  240.   │^n        Address  Irq  Vector ^m│
  241.   ├──────┬──────────────────────┤
  242.   │ ^nCOM1 ^m│ ^h$03F8    04     0C   ^m│
  243.   │^r COM2 ^m│ ^h$02F8    03     0B   ^m│
  244.   │ ^nCOM3 ^m│ ^h$03E8    04     0C   ^m│
  245.   │ ^nCOM4 ^m│ ^h$02E8    03     0B   ^m│
  246.   │ ^nCOM5 ^m│ ^h$4220    03     0B   ^m│
  247.   │ ^nCOM6 ^m│ ^h$4228    03     0B   ^m│
  248.   │ ^nCOM7 ^m│ ^h$5220    03     0B   ^m│
  249.   │ ^nCOM8 ^m│ ^h$5228    03     0B   ^m│
  250.   ╘══════╧══════════════════════╛^n
  251.  
  252.   When using the UART/Serial interface, you can change the actual port IO
  253.   address, the hardware IRQ and the software interrupt.
  254.  
  255.   You should not need to change anything here, but if you do, you must
  256.   beware of potential hardware conflicts. Do not try to change the IRQ on
  257.   your internal modems or serial card without knowing exactly what you are
  258.   doing. If you have an internal modem and 2 external comports, you should 
  259.   always choose COM1 for the mouse and COM4 for the modem. If you choose COM3
  260.   you will conflict with IRQ4. Do not try changing the hardware jumpers/
  261.   switches without help and a manual for the modem. Before you change
  262.   anything on the modem, always make a note of the current jumper
  263.   settings so you always can go back. If your internal modem is capable of
  264.   using IRQ 5 or 7, please be aware that the modem could conflict
  265.   with other hardware, like netcards or SoundBlaster cards. If it does not
  266.   work at once with the internal modem, please seek professional help.
  267.   It is your hardware supplier that is responsible for ensuring the modem
  268.   works. Terminate uses only standard calls, so if the default settings do 
  269.   not work, contact your hardware supplier.
  270.   
  271.   Please always remember to turn off the power before doing anything.
  272.   The vector number is where to install the software interrupt, this
  273.   number should always be  IRQ + 8. IRQ>7 = IRQ+$68
  274.  
  275.     IRQ0 , Vector $08 ( 8)  Timer
  276.     IRQ1 , Vector $09 ( 9)  Keyboard
  277.     IRQ2 , Vector $0A (10)  Screen
  278.     IRQ3 , Vector $0B (11)  COM2,COM4
  279.     IRQ4 , Vector $0C (12)  COM1,COM3
  280.     IRQ5 , Vector $0D (13)  Free
  281.     IRQ6 , Vector $0E (14)  Floppy
  282.     IRQ7 , Vector $0F (15)  Free
  283.     IRQ8 , Vector $70 (112)
  284.     IRQ9 , Vector $71 (113)
  285.     IRQ10, Vector $72 (114)
  286.     IRQ11, Vector $73 (115)
  287.     IRQ12, Vector $74 (116)
  288.     IRQ13, Vector $75 (117)
  289.     IRQ14, Vector $76 (118)
  290.     IRQ15, Vector $77 (119)
  291.  
  292.   These are the defaults for normal machines. If you have an internal
  293.   modem that is capable of using IRQ 5 or 7, you should consider this.
  294.   If you try to use IRQ0, IRQ1 orIRQ6 you could get in serious trouble
  295.   and your machine could hang.
  296.  
  297.  ^hCheck IRQ^n
  298.  
  299.   ^m╒══════════════════════════════════════════════╡^t Check IRQ ^m╞╕
  300.   │ ^nFound   COM1, $03F8, testing...uses IRQ 4                 ^m│
  301.   │ ^nFound   COM2, $02F8, testing...uses IRQ 3                 ^m│
  302.   │ ^nFound   COM3, $03E8, testing...uses IRQ 4                 ^m│
  303.   │ ^nFound   COM4, $02E8, testing...uses IRQ 5                 ^m│
  304.   │ ^nNo chip COM5, $4220                                       ^m│
  305.   │ ^nNo chip COM6, $4228                                       ^m│
  306.   │ ^nNo chip COM7, $5220                                       ^m│
  307.   │ ^nNo chip COM8, $5228                                       ^m│
  308.   │                                                           ^m│
  309.   ╘═══════════════════════════════════════════════════════════╛^n
  310.  
  311.   This function tries to determine which hardware IRQ the comports are using.
  312.   Even if this routine fails to find the IRQ, it will work anyway, if you
  313.   specify the correct IRQ. Not all machines will show the correct IRQ.
  314.  
  315.  ^hSet default values^n
  316.  
  317.   Set all devices to the default parameters. If you make some kind of
  318.   mistake and cannot remember what you did wrong, you could use this
  319.   function.
  320.  
  321.  ^hAuto installation^n
  322.  
  323.   Detect IRQ's on ports and finds on which port your modem is connected.
  324.   Test for maximum baudrate on device and select initstrings.
  325.  
  326.